﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Practices.Composite.Presentation.Commands;
using Jbe.Composite.Extensions;

namespace Jbe.TestSuite.Infrastructure.Interface.Documents
{
    public static class DocumentCommands
    {
        private static readonly CompositeCommand @new = new CompositeCommand();
        private static readonly CompositeCommand open = new CompositeCommand();
        private static readonly CompositeCommand save = new CompositeCommand();
        private static readonly CompositeCommand saveAs = new CompositeCommand();
        private static readonly CompositeCommand close = new CompositeCommand(true);


        // TODO: How to implement InputGestures (e.g. Ctrl-O)
        public static CompositeCommand New { get { return @new; } }
        
        public static CompositeCommand Open { get { return open; } }

        public static CompositeCommand Save { get { return save; } }

        public static CompositeCommand SaveAs { get { return saveAs; } }

        public static CompositeCommand Close { get { return close; } }
    }
}
